<template>
    <!-- component/blank/blank.wxml -->
    <view :style="'background-color:' + prop.blankColor + ';height:' + prop.blankValue + 'px'"></view>
</template>

<script>
// component/blank/blank.js
export default {
    data() {
        return {
            prop: {
                blankColor: '',
                blankValue: ''
            }
        };
    },
    data() {
        return (
            {
                prop: null
            },
            {}
        );
    },
    /**
     * 组件的属性列表
     */
    props: {
        con: {
            type: Object,
            default: null
        }
    },
    mounted() {
        // 处理小程序 ready 生命周期
        this.$nextTick(() => this.ready());
    },
    /**
     * 组件的方法列表
     */
    methods: {
        ready: function () {
            let that = this;
            let prop = JSON.parse(that.con.prop);
			that prop = prop; 
        }
    },
    created: function () {}
};
</script>
<style>
@import './blank.css';
</style>
